package org.dromara.learning_lhz.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 模块 考点(AsModuleEntity)实体类
 *
 * @author makejava
 * @since 2024-08-22 09:59:39
 */
@Data
@TableName("as_module")
public class AsModuleEntity implements Serializable {
    private static final long serialVersionUID = 814920643878517066L;
    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 学科(0.数学 1.英语 )
     */
    private Integer subject;
    /**
     * 学习阶段（0.初中 1.高中）
     */
    private Integer learningStage;
    /**
     * 年级（0.一年级 1.二年级 2.三年级）
     */
    private Integer grade;
    /**
     * 学期（0.上册 1.下册）
     */
    private Integer semester;
    /**
     * 模块名
     */
    private String moduleName;
    /**
     * 考点
     */
    private String examCenter;
    /**
     * 题型
     */
    private String questionType;
    /**
     * 父类id
     */
    private Long pId;
    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;
    /**
     * 创建者
     */
    private String createBy;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新者
     */
    private String updateBy;
    /**
     * 更新时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getSubject() {
        return subject;
    }

    public void setSubject(Integer subject) {
        this.subject = subject;
    }

    public Integer getLearningStage() {
        return learningStage;
    }

    public void setLearningStage(Integer learningStage) {
        this.learningStage = learningStage;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getSemester() {
        return semester;
    }

    public void setSemester(Integer semester) {
        this.semester = semester;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getExamCenter() {
        return examCenter;
    }

    public void setExamCenter(String examCenter) {
        this.examCenter = examCenter;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public Long getPId() {
        return pId;
    }

    public void setPId(Long pId) {
        this.pId = pId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

